<?php
session_start();
if(@$_SESSION['V']==1){
    ?>
    <!DOCTYPE html>
    <html>

    <head>

        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <title>广西水利电力职业技术学院 | 教务系统</title>

        <link href="css/bootstrap.min.css" rel="stylesheet">
        <link href="font-awesome/css/font-awesome.css" rel="stylesheet">

        <link href="css/animate.css" rel="stylesheet">
        <link href="css/style.css" rel="stylesheet">

    </head>

    <body>
    <?php include "header.php"; ?>
    <div class="row wrapper border-bottom white-bg page-heading">
        <div class="col-lg-10">
            <h2>留言板</h2>
            <ol class="breadcrumb">
                <li>
                    <a href="jw.php">首页</a>
                </li>
                <li>
                    <a href="lyb.php">留言板</a>
                </li>
                <!--                        <li>
                                            <a>UI Elements</a>
                                        </li>
                                        <li class="active">
                                            <strong>Buttons</strong>
                                        </li>-->
            </ol>
        </div>
        <div class="col-lg-2">

        </div>
    </div>
    <div class="row wrapper wrapper-content animated fadeInRight">
        <div class="col-lg-12">
            <div class="ibox float-e-margins">
                <div class="ibox-title">
                    <h5>留言板</h5>
                    <div class="ibox-tools">
                        <a class="collapse-link">
                            <i class="fa fa-chevron-up"></i>
                        </a>
                        <a class="close-link">
                            <i class="fa fa-times"></i>
                        </a>
                    </div>
                </div>
                <div class="ibox-content">
                    <!-- 多说评论框 start -->
                    <div class="ds-thread" data-thread-key="jwos" data-title="留言板" data-url="/jwos/lyb.php"></div>
                    <!-- 多说评论框 end -->
                    <!-- 多说公共JS代码 start (一个网页只需插入一次) -->
                    <script type="text/javascript">
                        var duoshuoQuery = {short_name:"sdjwos"};
                        (function() {
                            var ds = document.createElement('script');
                            ds.type = 'text/javascript';ds.async = true;
                            ds.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') + '//static.duoshuo.com/embed.js';
                            ds.charset = 'UTF-8';
                            (document.getElementsByTagName('head')[0]
                            || document.getElementsByTagName('body')[0]).appendChild(ds);
                        })();
                    </script>
                    <!-- 多说公共JS代码 end -->
                </div>
            </div>
        </div>

    </div>

    <?php
    include "footer.php";
    ?>

    </body>

    </html>
    <?php
}else{
    session_destroy();
    echo "<script type='text/javascript'>
                    alert('非法登录！');
                    location.href='index.php';
                   </script>";
}
?>